<include file="Common/common" />
<?php 
	$statusArr = array('0'=>'正在进行','1'=>'完成'); 
	$winloseArr = array('0'=>'输','1'=>'赢');
	$typeArr = array('1'=>'重庆时时彩');
	$pageArr = array('0'=>'总和','1'=>'第一球','2'=>'第二球','3'=>'第三球','4'=>'第四球','5'=>'第五球');
	$ballArr = array('0'=>'总和','1'=>'第一球','2'=>'第二球','3'=>'第三球','4'=>'第四球','5'=>'第五球');
	$whichArr = array('0'=>'大','1'=>'小','2'=>'单','3'=>'双');
?>
<body>
	
	<div class="layui-tab-item layui-show">
		<div class="layui-main">
			<br>
			

			<div style="overflow-x: auto;">
				<table class="layui-table" >
					<thead>
							<tr  style="background: rgb(57,61,73);color:rgb(240,222,112)">
								<th>编号</th>
								<th>交易积分</th>
								<th>类型</th>
								<th>期数</th>
								<th>开奖号码</th>
								<th>投注页面</th>
								<th>投注详情</th>
								<th>申请时间</th>
								<th>状态</th>
								<th>输赢</th>
							</tr> 
						</thead>
						<tbody>
							<foreach name="applytaskList" item="vo">
								<tr style="background: #7d7d7d;color:rgb(240,222,112);">
									<td>{$vo['id']}</td>
									<td>{$vo['num']}</td>
									<td>{$typeArr[$vo['type']]}</td>
									<td>{$vo['code']}{$vo['codenum']}</td>
									<td>{$vo['opencode']}</td>
									<td>{$pageArr[$vo['page']]}</td>
									<td>{$ballArr[$vo['ball']]} - {$whichArr[$vo['which']]}</td>
									<td><?php echo date('Y-m-d H:i:s',$vo['createtime']) ?></td>
									<td>{$statusArr[$vo['status']]}</td>
									<td>{$winloseArr[$vo['winlose']]}</td>
								</tr>
							</foreach>
						</tbody>
				</table>
			</div>
			<div class="green-black">{$page}</div>
		</div>
	</div>
</body>
<include file="Common/footer" />